home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C22 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.0 KB  |  84 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C22
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     MultipleInheritance1 \
  22.     MultipleInheritance2 \
  23.     MultipleInheritance3 \
  24.     MultipleInheritance4 \
  25.     Overhead \
  26.     Mithis \
  27.     Persist1 \
  28.     Persist2 \
  29.     Paste 
  30.  
  31. test: all 
  32.     MultipleInheritance1  
  33.     MultipleInheritance2  
  34.     MultipleInheritance3  
  35.     MultipleInheritance4  
  36.     Overhead  
  37.     Mithis  
  38.     Persist1  
  39.     Persist2  
  40.     Paste  
  41.  
  42. bugs: 
  43.     @echo No compiler bugs in this directory!
  44.  
  45. MultipleInheritance1: MultipleInheritance1.o 
  46.     $(CPP) $(OFLAG)MultipleInheritance1 MultipleInheritance1.o 
  47.  
  48. MultipleInheritance2: MultipleInheritance2.o 
  49.     $(CPP) $(OFLAG)MultipleInheritance2 MultipleInheritance2.o 
  50.  
  51. MultipleInheritance3: MultipleInheritance3.o 
  52.     $(CPP) $(OFLAG)MultipleInheritance3 MultipleInheritance3.o 
  53.  
  54. MultipleInheritance4: MultipleInheritance4.o 
  55.     $(CPP) $(OFLAG)MultipleInheritance4 MultipleInheritance4.o 
  56.  
  57. Overhead: Overhead.o 
  58.     $(CPP) $(OFLAG)Overhead Overhead.o 
  59.  
  60. Mithis: Mithis.o 
  61.     $(CPP) $(OFLAG)Mithis Mithis.o 
  62.  
  63. Persist1: Persist1.o 
  64.     $(CPP) $(OFLAG)Persist1 Persist1.o 
  65.  
  66. Persist2: Persist2.o 
  67.     $(CPP) $(OFLAG)Persist2 Persist2.o 
  68.  
  69. Paste: Paste.o Vendor.o 
  70.     $(CPP) $(OFLAG)Paste Paste.o Vendor.o 
  71.  
  72.  
  73. MultipleInheritance1.o: MultipleInheritance1.cpp ../purge.h 
  74. MultipleInheritance2.o: MultipleInheritance2.cpp ../purge.h 
  75. MultipleInheritance3.o: MultipleInheritance3.cpp ../purge.h 
  76. MultipleInheritance4.o: MultipleInheritance4.cpp ../purge.h 
  77. Overhead.o: Overhead.cpp 
  78. Mithis.o: Mithis.cpp 
  79. Persist1.o: Persist1.cpp ../require.h 
  80. Persist2.o: Persist2.cpp ../require.h 
  81. Vendor.o: Vendor.cpp Vendor.h 
  82. Paste.o: Paste.cpp Vendor.h 
  83.  
  84.